package cn.green.ztest.dm.controller;

import cn.green.annotations.busi.Business;
import cn.green.annotations.busi.Function;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Business(name = "用户管理及登录")//设置业务名称
@Controller
@RequestMapping("/user")
public class UserController {

    @Function(name = "用户登录")//设置业务功能名称
    @PostMapping("/login")
    public String login() {
        return "login ok";
    }

}
